/*
 * @Author: 260156 260156@gree.com.cn
 * @Date: 2022-08-19 09:01:16
 * @LastEditors: 260156 260156@gree.com.cn
 * @LastEditTime: 2022-09-27 17:05:51
 * @FilePath: \gree-zst-web\src\utils\const.ts
 * @Description:
 *
 * Copyright (c) 2022 by 260156 260156@gree.com.cn, All Rights Reserved.
 */

// 是否下拉框选项
export const trueFalseOptions = [
  {
    label: "是",
    value: "是",
  },
  {
    label: "否",
    value: "否",
  },
];

export const months = new Array(12).fill("").map((item, index) => {
  const m = index + 1;
  return {
    label: m + "月",
    value: (m + "").padStart(2, "0"),
  };
});

// 是否是管理员下拉框
export const isManager = [
  {
    label: "是",
    value: 1,
  },
  {
    label: "否",
    value: 0,
  },
];

//  接收人类型：收件人、抄送人
export const receiverType = [
  {
    label: "收件人",
    value: 0,
  },
  {
    label: "抄送人",
    value: 1,
  },
];
